Skip to content

[switch] Add SAI_SWITCH_ATTR_MIRROR_QUEUE_INDEX attribute - #2364

Open
mobinmohan wants to merge 1 commit into
opencomputeproject:masterfrom
mobinmohan:mirror_queue_index
Open

mobinmohan wants to merge 1 commit into
opencomputeproject:masterfrom
mobinmohan:mirror_queue_index

Conversation

@mobinmohan

Copy link
Copy Markdown
Contributor
  • Add SAI_SWITCH_ATTR_MIRROR_QUEUE_INDEX to set the queue of mirrored packets for all mirror sessions. The value is the SAI_QUEUE_ATTR_INDEX of the egress queue on the monitor port.
  • Default of 255 = disabled. When disabled, the queue of the mirrored frame is selected by the platform default behavior.
  • If both this attribute and SAI_SWITCH_ATTR_MIRROR_TC are set, the last set attribute takes precedence.

- Add SAI_SWITCH_ATTR_MIRROR_QUEUE_INDEX to set the queue of mirrored
  packets for all mirror sessions. The value is the SAI_QUEUE_ATTR_INDEX
  of the egress queue on the monitor port.
- Default of 255 = disabled. When disabled, the queue of the mirrored
  frame is selected by the platform default behavior.
- If both this attribute and SAI_SWITCH_ATTR_MIRROR_TC are set, the last
  set attribute takes precedence.

Signed-off-by: Mobin Mohan <mobinmohan@google.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant